Stefan Jeske [Wed, 17 Jun 1998 20:09:43 +0000 (20:09 +0000)]
*** empty log message ***
Stefan Jeske [Wed, 17 Jun 1998 20:07:31 +0000 (20:07 +0000)]
Changed GtkSpinButtonUpdatePolicy enum, added keyboard
acceleration, new API gtk_spin_button_set_snap_to_ticks.
Tim Janik [Wed, 17 Jun 1998 08:48:22 +0000 (08:48 +0000)]
new function gdk_window_at_pointer() to retrive the current GdkWindow the
Wed Jun 17 03:47:40 1998 Tim Janik <timj@gtk.org>
* gdk/gdk.h:
* gdk/gdkwindow.c: new function gdk_window_at_pointer() to retrive
the current GdkWindow the pointer is on if there is any.
* gtk/gtktable.c (gtk_table_init): preallocate a table with one row
and one column, so we don't construction logic at all. changed a few
(x < y - 1) to (x + 1 < y), to avoid failing evaluations due to
unsigned int wraps.
* gtk/gtkwidget.c (gtk_widget_set_parent): removed left over code
portion, added an additional check for parent != widget.
* more GtkType and macro fixups.
Elliot Lee [Wed, 17 Jun 1998 05:12:27 +0000 (05:12 +0000)]
Fixed functions with no arguments
Federico Mena Quintero [Wed, 17 Jun 1998 03:34:22 +0000 (03:34 +0000)]
Now accepts an extra "clip" parameter, which is the clipping rectangle to
1998-06-16 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtk/gtkhandlebox.c (draw_textured_frame): Now accepts an extra
"clip" parameter, which is the clipping rectangle to use. This
eliminates the extremely annoying flicker when exposing parts of
the handlebox.
Manish Singh [Tue, 16 Jun 1998 21:09:24 +0000 (21:09 +0000)]
fix from TimJ for off-by-one error in table resizing
-Yosh
Stefan Jeske [Tue, 16 Jun 1998 07:39:06 +0000 (07:39 +0000)]
TODO
Tim Janik [Tue, 16 Jun 1998 05:20:05 +0000 (05:20 +0000)]
boy! did i really modify that many files?
anyways, here go the child args and a lot of cleanups ;)
you wouldn't want me to put the ChangeLog entry in here, would you?
Owen Taylor [Tue, 16 Jun 1998 03:40:04 +0000 (03:40 +0000)]
Moved font lists from the klass structure to a static structure in
Mon Jun 15 23:39:44 1998 Owen Taylor <otaylor@gtk.org>
* gtk/gtkfontsel.[ch] (gtk_font_selection_dialog_init): Moved font
lists from the klass structure to a static structure
in gtkfontsel.c; cleans up global the namespace.
Mon Jun 15 22:16:10 1998 Owen Taylor <otaylor@gtk.org>
* gtk/makeenums.pl (parse_entries): Fix (untriggered)
bug with /*< skip >*/ and remove warning.
Manish Singh [Tue, 16 Jun 1998 01:17:43 +0000 (01:17 +0000)]
Added maintainer-rule autogened files
-Yosh
Owen Taylor [Tue, 16 Jun 1998 00:13:04 +0000 (00:13 +0000)]
Made the gtkmarshal.* generation rules maintainer-only.
Mon Jun 15 20:14:09 1998 Owen Taylor <otaylor@gtk.org>
* gtk/Makefile.am: Made the gtkmarshal.* generation
rules maintainer-only.
Really add makeenums.pl (this is getting to be a bad habit)
Owen Taylor [Mon, 15 Jun 1998 23:29:27 +0000 (23:29 +0000)]
Actually add in the files...
Owen Taylor [Mon, 15 Jun 1998 21:27:17 +0000 (21:27 +0000)]
gdk/gdktypes.h gdk/gdkprivate.h gtk/gtk*.h gtk/Makefile.am gtk/makenums.pl
Mon Jun 15 16:29:45 1998 Owen Taylor <otaylor@gtk.org>
* gdk/gdktypes.h gdk/gdkprivate.h gtk/gtk*.h
gtk/Makefile.am gtk/makenums.pl
Removed out the G_ENUM/FLAGS mechanism in favor
of a perl script that parses the standard headers
(with occasional /*< nick=foo >*/ style overrides)
and extracts the enumerations.
gtk/maketypes.awk: Small improvments to the
translation of names. (Avoid splitting gc into
g_c_.)
Mon Jun 15 16:25:44 1998 Owen Taylor <otaylor@gtk.org>
* gtk/Makefile.am gtk/gtk.h gtk/gtkfontsel.[ch] gtk/testgtk.c:
Damon Chaplin's <DAChaplin@email.msn.com> Font selection widget,
and a simple example for testgtk.
Mon Jun 15 15:58:34 1998 Owen Taylor <otaylor@gtk.org>
* gtk/gtkentry.c:
- Restored gtk_entry_adjust_scroll to static
- Changed text positioning code so that we always
display as large a portion of the text as possible.
Mon Jun 15 15:42:12 1998 Owen Taylor <otaylor@gtk.org>
* gtk/gtktext.c (gtk_text_finalize): Free internal
structures of text widget. Also, unreference pixmaps
when unrealizing.
Sat Jun 13 19:14:39 1998 Owen Taylor <otaylor@gtk.org>
* gdk/gdkinputcommon.h (gdk_input_device_new): Change
3.3.1 bug workaround to number keys starting at 1.
Sat Jun 13 11:56:57 1998 Owen Taylor <otaylor@gtk.org>
* docs/gtk_tut.sgml: Fixed urls for complete example
source for scribble+widget-writing examples.
Elliot Lee [Sun, 14 Jun 1998 16:59:42 +0000 (16:59 +0000)]
Redo (and complete) movement of all pointer types into pointer_data in the GtkArg union
Elliot Lee [Sun, 14 Jun 1998 16:50:48 +0000 (16:50 +0000)]
Reformat two function prototypes for cosmetics
Tim Janik [Sun, 14 Jun 1998 15:02:05 +0000 (15:02 +0000)]
reverting changes that depend on other code which i'm going to
commit later this night (so gtk at least compiles for people).
Tim Janik [Sun, 14 Jun 1998 14:37:39 +0000 (14:37 +0000)]
heal gtk. ;)
Elliot Lee [Sun, 14 Jun 1998 07:58:02 +0000 (07:58 +0000)]
s/string_data/pointer_data/ as needed to match GtkArg
s/string_data/pointer_data/ as needed to match GtkArg
Owen Taylor [Sat, 13 Jun 1998 15:51:34 +0000 (15:51 +0000)]
Patch from Tom Bech <tomb@ii.uib.no>, to handle color specs of the form c
Sat Jun 13 11:48:26 1998 Owen Taylor <otaylor@gtk.org>
* gdk/gdkpixmap.c (gdk_pixmap_extract_color):
Patch from Tom Bech <tomb@ii.uib.no>, to handle color
specs of the form c #abcdef [ more keys ] properly.
Stefan Jeske [Sat, 13 Jun 1998 09:02:05 +0000 (09:02 +0000)]
*** empty log message ***
Stefan Jeske [Sat, 13 Jun 1998 08:56:27 +0000 (08:56 +0000)]
New API to set the shadow type of the arrow panel.
Owen Taylor [Sat, 13 Jun 1998 01:36:28 +0000 (01:36 +0000)]
Removed code for drawing the child in two places at once. Unfortunately,
Fri Jun 12 21:20:42 1998 Owen Taylor <otaylor@gtk.org>
* gtk/gtkoptionmenu.c (gtk_option_menu_expose): Removed
code for drawing the child in two places at once. Unfortunately,
not only does it not work anymore (because reparenting has
been fixed), but it also triggers reparent/expose loops
in some cases.
* gtk/gtkoptionmenu.c (gtk_option_menu_remove_contents): Removed
an unecessary unrealize.
Tim Janik [Fri, 12 Jun 1998 08:10:29 +0000 (08:10 +0000)]
renamed enum GtkAnchor and GtkSide to GtkAnchorType and GtkSideType, to be
Fri Jun 12 09:24:47 1998 Tim Janik <timj@gtk.org>
* gtk/gtkpacker.h:
* gtk/gtkpacker.c: renamed enum GtkAnchor and GtkSide to GtkAnchorType
and GtkSideType, to be consistent with the rest of Gtk's enum
definitions. wrapped the enum definitions with the G_ eunm wrappers.
spelled out the GTK_ANCHOR_* enum values, since single letters don't
work out corectly as nick-names (left the old values as aliases).
some signdness corrections (border-width, spacing), could stand more.
CDT 1998 Shawn T. Amundson [Fri, 12 Jun 1998 00:49:11 +0000 (00:49 +0000)]
Added gtkpacker
Thu Jun 11 14:38:33 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
* gtk/gtkpacker.c, gtk/gtkpacker.h, gtk/gtk.h, gtk/Makefile.am:
Added gtkpacker
* examples/packer/pack.c, examples/packer/Makefile: Added
gtkpacker example
Dick Porter [Thu, 11 Jun 1998 20:00:42 +0000 (20:00 +0000)]
Removed glib, since it's in its own module now.
Owen Taylor [Thu, 11 Jun 1998 17:52:12 +0000 (17:52 +0000)]
Fixed broken list-removal code.
Thu Jun 11 13:09:00 1998 Owen Taylor <otaylor@gtk.org>
* gtk/gtktext.c (remove_cache_line): Fixed broken
list-removal code.
* gtk/gtktext.c: (gtk_text_delete_(forward/backward)_cahr)
Check bounds before deleting.
Owen Taylor [Thu, 11 Jun 1998 03:19:39 +0000 (03:19 +0000)]
Support ACLOCAL_FLAGS
Wed Jun 10 23:21:33 1998 Owen Taylor <otaylor@gtk.org>
* autogen.sh: Support ACLOCAL_FLAGS
Manish Singh [Thu, 11 Jun 1998 01:45:22 +0000 (01:45 +0000)]
#define GTK_HAVE_ACCEL_GROUP
-Yosh
Owen Taylor [Thu, 11 Jun 1998 00:52:24 +0000 (00:52 +0000)]
Added missing quotes.
Wed Jun 10 20:54:37 1998 Owen Taylor <otaylor@gtk.org>
* gtk-config.in: Added missing quotes.
Raja R Harinath [Thu, 11 Jun 1998 00:27:08 +0000 (00:27 +0000)]
Renamed from G_COMPILED_WITH_DEBUGGING.
* acconfig.h (GTK_COMPILED_WITH_DEBUGGING): Renamed from
G_COMPILED_WITH_DEBUGGING.
Raja R Harinath [Thu, 11 Jun 1998 00:12:59 +0000 (00:12 +0000)]
Explain check better.
* configure.in (fd_set): Explain check better.
* acinclude.m4: New file. Contains `libtool.m4' from libtool-1.2,
the version from which gtk+'s libtool forked. Needed for people
who use post-1.2 alphas of libtool.
Raja R Harinath [Wed, 10 Jun 1998 23:52:31 +0000 (23:52 +0000)]
Remove last remaining file
Owen Taylor [Wed, 10 Jun 1998 23:44:55 +0000 (23:44 +0000)]
glib/* Moved to glib module
Wed Jun 10 19:36:35 1998 Owen Taylor <otaylor@gtk.org>
* glib/* Moved to glib module
* INSTALL Makefile.am acconfig.h autogen.sh configure.in
gtk-config.in gtk.m4 gdk/Makefile.am gtk/Makefile.am
configuration changes for the above:
- Use AM_PATH_GLIB by default to find glib; also accept
a --with-glib option for using an uninstalled glib.
- Put --enable-debug information into config.h so
that we rebuild when it changes. (was in glibconfig.h)
Lars Hamann [Wed, 10 Jun 1998 21:48:21 +0000 (21:48 +0000)]
adapted clist pixmap clipping
* gtk/gtkctree.c (draw_row): adapted clist pixmap clipping
* gtk/gtknotebook.h (struct _GtkNotebookClass):
* gtk/gtknotebook.c (gtk_real_notebook_switch_page):
added missing argument (according to Joseph Coleman's bug report)
* gtk/gtknotebook.c (gtk_notebook_set_focus_child): new class
function to fix notebook focus handling
Owen Taylor [Wed, 10 Jun 1998 16:59:28 +0000 (16:59 +0000)]
Renamed g_const_pointer => gconstpointer.
Tim Janik [Wed, 10 Jun 1998 07:32:52 +0000 (07:32 +0000)]
prevent gdk_init() from segfaulting when invoked with (NULL, NULL); (this
Wed Jun 10 06:25:17 1998 Tim Janik <timj@gtk.org>
* gdk/gdk.c (gdk_init): prevent gdk_init() from segfaulting when
invoked with (NULL, NULL); (this worked sometime ago).
* gtk/gtktypeutils.h:
* gtk/gtktypeutils.c: enum and flags type creation can now be done
through gtk_type_register_enum() and gtk_type_register_flags(),
which allow to specify the enum value arrays directly.
the NULL terminated value arrays can be retrived through
gtk_type_enum_get_values() and gtk_type_flags_get_values();
(gtk_type_children_types): new function to query derived types.
Tim Janik [Wed, 10 Jun 1998 04:55:22 +0000 (04:55 +0000)]
enum and flags type creation can now be done through
Wed Jun 10 06:25:17 1998 Tim Janik <timj@gtk.org>
* gtk/gtktypeutils.h:
* gtk/gtktypeutils.c: enum and flags type creation can now be done
through gtk_type_register_enum() and gtk_type_register_flags(),
which allow to specify the enum value arrays directly.
the NULL terminated value arrays can be retrived through
gtk_type_enum_get_values() and gtk_type_flags_get_values();
Raja R Harinath [Wed, 10 Jun 1998 02:15:50 +0000 (02:15 +0000)]
Thinko... The ChangeLog entry still stands.
Raja R Harinath [Wed, 10 Jun 1998 02:10:23 +0000 (02:10 +0000)]
Add $(srcdir) where needed (in the rule), and removed it where not needed
1998-06-09 Raja R Harinath <harinath@cs.umn.edu>
* gtk/Makefile.am (gtk.defs,gtktypebuiltins*): Add $(srcdir)
where needed (in the rule), and removed it where not needed
(in the dependencies).
Raja R Harinath [Wed, 10 Jun 1998 01:04:46 +0000 (01:04 +0000)]
Pass $srcdir in environment to genmarshal.pl. Look for `gtkmarshal.list'
1998-06-09 Raja R Harinath <harinath@cs.umn.edu>
* gtk/Makefile.am (gtkmarshal.c gtkmarshal.h): Pass $srcdir in
environment to genmarshal.pl.
* gtk/genmarshal.pl: Look for `gtkmarshal.list' in $srcdir.
Tim Janik [Wed, 10 Jun 1998 00:54:54 +0000 (00:54 +0000)]
more const pointer corrections.
Owen Taylor [Tue, 9 Jun 1998 23:18:11 +0000 (23:18 +0000)]
Removed g_object_pointer_hash, which was just g_direct_hash.
Tue Jun 9 18:44:57 1998 Owen Taylor <otaylor@gtk.org>
* gtk/gtkobject.c: Removed g_object_pointer_hash, which
was just g_direct_hash.
Mon May 25 19:54:20 1998 Owen Taylor <otaylor@gtk.org>
* configure.in: x_libs=, not $x_libs=. Enough said.
(Case only hit for --disable-xshm)
Mon May 25 12:08:14 1998 Owen Taylor <otaylor@gtk.org>
* configure.in (LDFLAGS): Add to $CFLAGS and $LDFLAGS
when testing for X libraries, don't replace them. Because
the user might have specified the path to the X libraries
themself before running configure.
* examples/**.c: Changed all gpointer * to gpointer
Sat May 23 21:54:05 1998 Owen Taylor <otaylor@gtk.org>
* configure.in (LDFLAGS): Bomb out with a moderately
helpful message if detection of X libraries fails.
Sat May 23 18:57:06 1998 Owen Taylor <otaylor@gtk.org>
[ Combination of:
gtk-rrh-980412-0.patch (Raja R Harinath <harinath@cs.umn.edu>)
gtk-jbuhler-980516-0 (Jeremy Buhler <jbuhler@cs.washington.edu>) ]
* gdk/gdk.h gdk/gdkcc.c gdk/gdkfont.c gtk/gtkmain.c
gtk/gtksignal.c gtk/gtktext.c:
Fixups for warnings from adding const to type of GHashFunc,
GCompareFunc
* gtk/gtkcombo.c (gtk_combo_entry_key_press): Minor style/
ansi-warnings fixups.
Tue Jun 9 17:47:33 1998 Owen Taylor <otaylor@gtk.org>
* glib.h: Remove #error - HP/UX.
Sat May 23 19:00:01 1998 Owen Taylor <otaylor@gtk.org>
[ Combination of:
gtk-rrh-980412-0.patch (Raja R Harinath <harinath@cs.umn.edu>)
gtk-jbuhler-980516-0 (Jeremy Buhler <jbuhler@cs.washington.edu>) ]
* glib.h ghash.c gstring.c gdataset.c gutils.c:
- Added new typedef g_const_pointer; expunged all incorrect
uses of 'const gpointer'.
- Fixed up warnings that that created,
- Changed GHashFunc and GCompareFunc to take g_const_pointer
arguments. (Necessary, but will cause warnings in existing
code until fixed)
- Added other new const in harmless positions.
Federico Mena Quintero [Tue, 9 Jun 1998 21:01:45 +0000 (21:01 +0000)]
Removed the fleur_cursor field. Now the cursor is created/destroyed on
1998-06-09 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtk/gtkhandlebox.h (struct _GtkHandleBox): Removed the
fleur_cursor field. Now the cursor is created/destroyed on demand
by the routines that need it.
* gtk/gtkhandlebox.c (gtk_handle_box_button_changed):
(gtk_handle_box_motion): The fleur cursor is created and destroyed
only when needed.
Elliot Lee [Tue, 9 Jun 1998 20:16:12 +0000 (20:16 +0000)]
Fix for people using name mangling
Elliot Lee [Tue, 9 Jun 1998 20:10:48 +0000 (20:10 +0000)]
Just a convenience to parallel gtk-config
Just a convenience to parallel gtk-config
Manish Singh [Tue, 9 Jun 1998 10:33:56 +0000 (10:33 +0000)]
Warning cleanups.. cvsignore stuff
-Yosh
Tim Janik [Tue, 9 Jun 1998 08:21:20 +0000 (08:21 +0000)]
renamed the newly created gtk_enum_get_values and gtk_enum_set_values to
Tue Jun 9 09:57:09 1998 Tim Janik <timj@gtk.org>
* gtk/gtktypeutils.h:
* gtk/gtktypeutils.c: renamed the newly created gtk_enum_get_values and
gtk_enum_set_values to gtk_type_enum_get_values and
gtk_type_enum_set_values respectively, since they are actually type
system features.
* gtk/gtktypebuiltins_evals.c: oops, screwed the NULL termination with
my last commit. ;)
Tim Janik [Tue, 9 Jun 1998 07:14:34 +0000 (07:14 +0000)]
removed some bogus commas.
Tim Janik [Tue, 9 Jun 1998 07:11:55 +0000 (07:11 +0000)]
new functions gtk_selection_data_copy and gtk_selection_data_free.
Tue Jun 9 01:57:23 1998 Tim Janik <timj@gtk.org>
* gtk/gtkselection.h:
* gtk/gtkselection.c: new functions gtk_selection_data_copy and
gtk_selection_data_free.
* gtk/gtkwidget.c (gtk_widget_class_init): fixed gtk_signal_new() call
for "selection_received", which was completely bogus.
* other fixups to gtk_signal_new() calls all over the place.
* gtk/gtktypebuiltins.h: types as variables (formerly macros).
* gtk/gtktypebuiltins_vars.c: type variable implementations.
* gtk/gtktypebuiltins_ids.c: array entries for builtin type
declarations.
* gtk/gtktypebuiltins_evals.c: enum value arrays.
* gtk/gtk-boxed.defs: gtk and gdk structure definitions, used to build
gtk.defs.
* gtk/gtk.defs: generated file with scheme syntax for type definitions
of gtk and gdk structures and enums.
* gtk/gtktypeutils.h:
* gtk/gtktypeutils.c: reworked type ids, so they are variables not
macros anymore (this fixes binary incompatibility with new enum
definitions).
* gtk/gtkwidget.c (gtk_widget_real_key_press_event): proccess possible
key bindings for this widget.
* gtk/gtkwindow.c (gtk_window_key_press_event): chain parent class'
handler.
* gtk/gtkobject.h:
* gtk/gtkobject.c: removed gtk_object_class_new_user_signal_no_recurse()
again. new functions gtk_object_class_user_signal_new () and
gtk_object_class_user_signal_newv (), to feature the GtkSignalRunType
flag on the signal creation.
Mon Jun 8 20:52:21 1998 Tim Janik <timj@gtk.org>
* gtk/gtkcontainer.h: new signal GtkContainer::set_focus_child.
Tim Janik [Mon, 8 Jun 1998 04:09:21 +0000 (04:09 +0000)]
check for func in g_[s]list_insert_sorted and g_[s]list_find_custom
Tim Janik [Mon, 8 Jun 1998 03:38:24 +0000 (03:38 +0000)]
wrapped enum definitions with glib macros.
Mon Jun 8 02:52:37 1998 Tim Janik <timj@gtk.org>
* gdk/gdkprivate.h:
* gdk/gdktypes.h:
* gtk/gtkprivate.h:
* gtk/gtkwidget.h:
* gtk/gtkobject.h: wrapped enum definitions with glib macros.
* reworked enum value array generation code. gtk.defs is a generated
file now.
Elliot Lee [Mon, 8 Jun 1998 01:37:27 +0000 (01:37 +0000)]
Start of marshalling centralization.
Start of marshalling centralization.
Please check this over for sanity. I think the perl script and Makefile might
need fixing up to allow builddir != srcdir
I will start converting all the widgets to use this scheme if no problems
arise.
Manish Singh [Sun, 7 Jun 1998 23:43:00 +0000 (23:43 +0000)]
hrm.. extra #pragma..
-Yosh
Manish Singh [Sun, 7 Jun 1998 23:22:42 +0000 (23:22 +0000)]
silly typo
-Yosh
Elliot Lee [Sun, 7 Jun 1998 20:18:21 +0000 (20:18 +0000)]
Added g_s?list_find_custom functions to allow user to specify a
Added g_s?list_find_custom functions to allow user to specify a
GCompareFunc to determine whether a node matches or not.
If you have a better idea for naming the functions, please, make it so! :)
Elliot Lee [Sun, 7 Jun 1998 17:37:15 +0000 (17:37 +0000)]
Allow the user to pass --enable-mem-check and --enable-mem-profile at
Allow the user to pass --enable-mem-check and --enable-mem-profile at
compile time.
Tim Janik [Sun, 7 Jun 1998 13:44:34 +0000 (13:44 +0000)]
feature check menu items in the compatibility code (this required me to
Sun Jun 7 14:34:31 1998 Tim Janik <timj@gtk.org>
* gtk/gtkitemfactory.c (gtk_item_factory_create_menu_entries): feature
check menu items in the compatibility code (this required me to remove
the "<check>" part from the menu item name, grrr).
Tim Janik [Sun, 7 Jun 1998 12:22:45 +0000 (12:22 +0000)]
further additions to fit the gimp's code. additions to the dumping code to
Sun Jun 7 10:53:02 1998 Tim Janik <timj@gtk.org>
* gtk/gtkitemfactory.h:
* gtk/gtkitemfactory.c: further additions to fit the gimp's code.
additions to the dumping code to feature GtkPatternSpec.
even found a bug to fix in the original code ;)
Marius Vollmer [Sun, 7 Jun 1998 12:00:55 +0000 (12:00 +0000)]
New prototypes. New functions.
* gdk/gdk.h (gdk_color_copy, gdk_color_free): New prototypes.
* gdk/gdk.c (gdk_color_copy, gdk_color_free): New functions.
Marius Vollmer [Sun, 7 Jun 1998 12:00:26 +0000 (12:00 +0000)]
*** empty log message ***
Tim Janik [Sun, 7 Jun 1998 07:52:26 +0000 (07:52 +0000)]
support different types of callbacks, to maintain existing code.
Sun Jun 7 09:36:04 1998 Tim Janik <timj@gtk.org>
* gtk/gtkitemfactory.h:
* gtk/gtkitemfactory.c: support different types of callbacks, to
maintain existing code.
... changes to the item factory to ease support of the gimp's code...
Tim Janik [Sun, 7 Jun 1998 07:05:12 +0000 (07:05 +0000)]
remove these files, we got gtkaccelgroup.[ch] now.
Tim Janik [Sun, 7 Jun 1998 06:48:56 +0000 (06:48 +0000)]
fixed an assertment.
Sat Jun 6 06:01:24 1998 Tim Janik <timj@gtk.org>
* gtk/gtksignal.c (gtk_signal_emitv): fixed an assertment.
* gtk/makeenums.awk: a script to generate the GtkEnumValue arrays from,
this should eventually be done by gentypeinfo.el somewhen.
* gtk/gtkenumvalues.c: new generated file to hold GtkEnumValue arrays.
* gtk/gtktypeutils.h: new function gtk_enum_values() to retrive all the
enum values of an enum type.
* gtk/gtk.defs:
* gtk/gtkcurve.h:
* gtk/gtkobject.h:
* gtk/gtkprivate.h:
* gtk/gtkwidget.h:
* gtk/gtkenums.h:
brought enum/flags definitions in sync, added a few more enum
definitions for bindings and pattern matching.
* some more macro and GtkType fixups in various places.
* gdk/gdktypes.h (enum): added a new value GDK_AFTER_MASK, which is used
as a key-release modifier for the binding system.
Fri Jun 5 06:06:06 1998 Tim Janik <timj@gtk.org>
* gtk/gtkmenu.h (struct _GtkMenu): removed GList*children, since it
was a stale list pointer that is already present in GtkMenuShell.
* gtk/gtkmenushell.h (struct _GtkMenuShellClass): added a signal
GtkMenuShell::selection_done which is emitted after the menu shell
poped down again and all possible menu items have been activated.
Thu Jun 4 02:20:42 1998 Tim Janik <timj@gtk.org>
* gtk/gtkmenushell.c (gtk_menu_shell_button_release): flush the x-queue
before activation of the menuitem, so the menu is actually taken off the
screen prior to any menu item activation.
* gtk/gtkctree.c (gtk_ctree_get_row_data): allow function invokation
for NULL nodes.
* gtk/gtkwidget.h:
* gtk/gtkwidget.c: new function gtk_widget_stop_accelerator to stop
the emission of the "add-accelerator" signal on a widget. this is
usefull to prevent accelerator installation on certain widgets.
* gtk/gtknotebook.c (gtk_notebook_menu_item_create): keep the menu
labels left justified, by setting their alignment. stop accelerator
installation for the menu items, since we use dynamic menus.
Wed Jun 3 06:41:22 1998 Tim Janik <timj@gtk.org>
* gtk/gtkmenufactory.c: adaptions to use the new accel groups. people
should *really* use GtkItemFactory. this is only for preserving source
compatibility where possible, use of GtkMenuFactory is deprecated as of
now.
* gtk/gtkobject.h (gtk_object_class_add_user_signal): new function
to create user signals of type GTK_RUN_NO_RECURSE. don't know why i
missed this possibility when i added gtk_object_class_add_user_signal
in late january.
* gtk/gtkmain.c (gtk_init): ignore subsequent function calls.
Sun May 31 07:31:09 1998 Tim Janik <timj@gtk.org>
* gtk/gtkaccelgroup.h:
* gtk/gtkaccelgroup.c: new implementation of the accelerator concept.
* gtk/gtkaccellabel.h:
* gtk/gtkaccellabel.c: new widget derived from GtkLabel whitch features
display of the accelerators associated with a certain widget.
* gtk/gtkitemfactory.h:
* gtk/gtkitemfactory.c: new widget, item factory with automatic rc
parsing and accelerator handling.
* gtk/gtkmenu.c (gtk_menu_reposition): new function to care for
positioning a menu.
(gtk_menu_map): removed the allocation code.
(gtk_menu_size_allocate): care for redrawing of children and resize
our widget->window correctly.
(gtk_menu_key_press): feature the new accelerator groups.
* gtk/gtkmenuitem.c (gtk_menu_item_size_allocate): reposition the
submenu if neccessary.
* gtk/gtkmenuitem.c:
* gtk/gtkcheckmenuitem.c:
* gtk/gtkradiomenuitem.c: use GtkAccelLabel in the *_new_with_label()
function variants.
* gdk/gdk.c:
(gdk_keyval_from_name):
(gdk_keyval_name): new functions for keyval<->key-name associations.
(gdk_keyval_to_upper):
(gdk_keyval_to_lower):
(gdk_keyval_is_upper):
(gdk_keyval_is_lower): new functions to check/translate keyvalues with
regards to their cases.
Wed May 27 00:48:10 1998 Tim Janik <timj@gtk.org>
* gtk/gtkwidget.c (gtk_widget_class_path): new function to calculate a
widget's class path.
(gtk_widget_path): new function to calculate a widget's name path.
* gtk/gtkrc.c: newly introduced GtkPatternSpec structures to speed up
pattern matching, features reversed pattern matches.
Manish Singh [Sat, 6 Jun 1998 21:16:57 +0000 (21:16 +0000)]
Commented out the MEM_PROFILE and MEM_CHECK from gmem.c, causing problems
with GdkImages.
Updates some .cvsignores
-Yosh
Elliot Lee [Fri, 5 Jun 1998 21:00:15 +0000 (21:00 +0000)]
Add \n's on the end of g_prints in the mem profiling code.
Add \n's on the end of g_prints in the mem profiling code.
rhlabs [Thu, 4 Jun 1998 16:04:09 +0000 (16:04 +0000)]
Set package version to 1.0.4 in anticipation of upcoming release.
Dr Mike
BST 1998 Tony Gale [Thu, 4 Jun 1998 11:15:55 +0000 (11:15 +0000)]
New files to automagically extract code examples from the tutorial.
Thu Jun 4 12:12:11 BST 1998 Tony Gale <gale@gtk.org>
* examples/extract.sh, examples/extract.awk:
New files to automagically extract code examples from the
tutorial.
Lars Hamann [Tue, 2 Jun 1998 19:32:33 +0000 (19:32 +0000)]
reversed test sequence for GTK_WIDGET_CAN_FOCUS and GTK_IS_CONTAINER
BST 1998 Tony Gale [Tue, 2 Jun 1998 12:08:14 +0000 (12:08 +0000)]
minor changes to support auto extraction of example code
Tue Jun 2 13:04:06 BST 1998 Tony Gale <gale@gtk.org>
* docs/gtk_tut.sgml: minor changes to support auto
extraction of example code
Jay Painter [Tue, 2 Jun 1998 02:51:46 +0000 (02:51 +0000)]
Added function gtk_clist_swap to swap two rows in a clist; I also have
finally fixed pixmap clipping so pixmaps are always cliped to the row.
Tim Janik [Tue, 2 Jun 1998 01:11:17 +0000 (01:11 +0000)]
wrote a comment describing why a hash node's key should not also get
Mon Jun 1 04:43:27 1998 Tim Janik <timj@gtk.org>
* ghash.c (g_hash_table_insert): wrote a comment describing why
a hash node's key should not also get replaced when overriding
previous entries.
Tue May 26 18:30:06 1998 Tim Janik <timj@gtk.org>
* glib.h (g_string_sized_new): new function to controll the preallocated
size of a GString.
* glib.h (g_strreversed): new function to reverse a string.
BST 1998 Tony Gale [Mon, 1 Jun 1998 11:53:08 +0000 (11:53 +0000)]
Update of Italian Tutorial to Tutorial of 24th May, from Daniele Canazza
Mon Jun 1 12:47:56 BST 1998 Tony Gale <gale@gtk.org>
* docs/gtk_tut_it.sgml: Update of Italian Tutorial
to Tutorial of 24th May, from Daniele Canazza <dcanazz@tin.it>
BST 1998 Tony Gale [Fri, 29 May 1998 12:43:18 +0000 (12:43 +0000)]
- new section on Events - change all delete_event callbacks to include a
Fri May 29 13:53:57 BST 1998 Tony Gale <gale@gtk.org>
* docs/gtk_tut.sgml:
- new section on Events
- change all delete_event callbacks to include
a GdkEvent parameter
- clean up the formatting
* examples - helloworld.c, helloworld2.c, notebook.c,
packbox.c, pixmap.c, progressbar.c, radiobuttons.c,
rulers.c, table.c, wheelbarrow.c: change all delete_event
callbacks to include a GdkEvent parameter.
Federico Mena Quintero [Wed, 27 May 1998 02:01:40 +0000 (02:01 +0000)]
New enumeration for the "mode" field of crossing events. (struct
1998-05-26 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gdk/gdktypes.h (GdkCrossingMode): New enumeration for the "mode"
field of crossing events.
(struct _GdkEventCrossing): Added the following fields: time, x,
y, x_root, y_root, mode, focus, state.
* gdk/gdk.c (gdk_event_translate): Fill in the new fields of the
crossing event structure.
* gtk/gtkfeatures.h (GDK_HAVE_FULL_CROSSING_EVENT): Annotate
changes to the crossing event structure.
Radek Doulik [Tue, 26 May 1998 13:54:38 +0000 (13:54 +0000)]
include gdkx.h always (for GDK_ROOT_WINDOW)
Tue May 26 15:51:28 1998 Radek Doulik <gis@academy.cas.cz>
* gdk/gdk.c: include gdkx.h always (for GDK_ROOT_WINDOW)
Elliot Lee [Mon, 25 May 1998 02:41:36 +0000 (02:41 +0000)]
Revert, as per Owen's request
Elliot Lee [Sun, 24 May 1998 20:56:35 +0000 (20:56 +0000)]
Make GtkEditable use signals instead of calling klass->... for stuff. Could someone look at the get_chars routine to see how to return the value properly?
BST 1998 Tony Gale [Sun, 24 May 1998 11:23:04 +0000 (11:23 +0000)]
- GtkTooltips, update to current API - change all 'gpointer *data' to
Sun May 24 12:11:38 BST 1998 Tony Gale <gale@gtk.org>
* docs/gtk_tut.sgml:
- GtkTooltips, update to current API
- change all 'gpointer *data' to 'gpointer data'
- other minor changes
Owen Taylor [Sun, 24 May 1998 02:48:09 +0000 (02:48 +0000)]
Bombo out with a moderately helpful message if detection of X libraries
Sat May 23 21:54:05 1998 Owen Taylor <otaylor@gtk.org>
* configure.in (LDFLAGS): Bombo out with a moderately
helpful message if detection of X libraries fails.
Owen Taylor [Sat, 23 May 1998 21:55:40 +0000 (21:55 +0000)]
Locate child at (border_width,border_width), not
Sat May 23 17:48:58 1998 Owen Taylor <otaylor@gtk.org>
* gtk/gtkeventbox.c (gtk_event_box_size_allocate):
Locate child at (border_width,border_width), not
(2*border_width,2*border_width). [ The border is _outside_
widget->window ]
* gdk/gdk.[ch]: added gdk_screen_width_mm/gdk_screen_height_mm
functions. [From: Alexander Larsson <alla@lysator.liu.se> ]
Arturo Espinosa [Fri, 22 May 1998 23:48:02 +0000 (23:48 +0000)]
Oops. Commited a file I should not have. Revert change
Miguel de Icaza [Fri, 22 May 1998 23:43:03 +0000 (23:43 +0000)]
Define GTK_HAVE_RC_SET_IMAGE_LOADER, to be used in gnome-libs
1998-05-22 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gtk/gtkfeatures.h.in: Define GTK_HAVE_RC_SET_IMAGE_LOADER, to be
used in gnome-libs
Elliot Lee [Fri, 22 May 1998 21:33:44 +0000 (21:33 +0000)]
Fix size_allocate to pass on to the child even if child isn't visible.
Fix size_allocate to pass on to the child even if child isn't visible.
Also locate child at (border_width, border_width) not (0,0)
Owen Taylor [Fri, 22 May 1998 07:09:15 +0000 (07:09 +0000)]
Changed log
Owen Taylor [Fri, 22 May 1998 07:07:11 +0000 (07:07 +0000)]
Added style_set handler.
Fri May 22 03:02:40 1998 Owen Taylor <otaylor@gtk.org>
* gtk/gtkhandlebox.c: Added style_set handler.
Fri May 22 02:55:57 1998 Owen Taylor <otaylor@gtk.org>
[ From: Chris Lahey <clahey@umich.edu> ]
* gtk/gtkeditable.c, gtk/gtkeditable.h,
gtk/gtktext.c, gtk/gtkentry.c: Added get_position,
and set_position functions to get and set the cursor position.
* gtk/gtkeditable.c: Restored "insert_text" and "delete_text" to
signal status. Make GtkText do user-controlled insertion
and deletion through the Editable widget so that these
signals are properly emitted.
* gtk/gtkentry.c: Changed gtk_entry_set_visibility to
display asterisks instead of empty space when visible = FALSE)
CEST 1998 Paolo Molaro [Fri, 22 May 1998 06:55:20 +0000 (06:55 +0000)]
use GTK_TYPE_GDK_EVENT in (un)?select_row signal.
Fri May 22 08:51:10 CEST 1998 Paolo Molaro <lupus@debian.org>
* gtk/gtkclist.c: use GTK_TYPE_GDK_EVENT in (un)?select_row
signal.
Elliot Lee [Thu, 21 May 1998 21:09:19 +0000 (21:09 +0000)]
clog ent for changes
Elliot Lee [Thu, 21 May 1998 19:26:19 +0000 (19:26 +0000)]
I should have named it gtk_rc_set_image_loader() initially - fixed
Elliot Lee [Thu, 21 May 1998 19:24:01 +0000 (19:24 +0000)]
Allow user to set a custom image loading routine for loading bg_pixmap's
Allow user to set a custom image loading routine for loading bg_pixmap's specified in the
gtkrc's.
Owen Taylor [Wed, 20 May 1998 03:41:28 +0000 (03:41 +0000)]
Use pthread_attr_init() as a test function, since most of the rest of
Tue May 19 23:41:04 1998 Owen Taylor <otaylor@gtk.org>
* configure.in: Use pthread_attr_init() as a test function,
since most of the rest of -lpthread is macros on DU4.
Mon May 18 22:14:39 1998 Owen Taylor <otaylor@gtk.org>
(Yasuhiro SHIRASAKI <joke@awa.tohoku.ac.jp> : gtk-joke-980517-0.patch)
* gutils.c: Restored a missing prototype for g_vsprintf.
Tim Janik [Wed, 20 May 1998 03:31:30 +0000 (03:31 +0000)]
conditionally define NULL, FALSE and TRUE. (g_mem_chunk_create): new
Wed May 20 05:02:26 1998 Tim Janik <timj@gtk.org>
* glib.h: conditionally define NULL, FALSE and TRUE.
(g_mem_chunk_create): new convenience macro as a short hand for
g_mem_chunk_new().
(g_chunk_free): new convenience macro to be consistent with g_chunk_new.
Elliot Lee [Tue, 19 May 1998 22:33:24 +0000 (22:33 +0000)]
Add GDK_SUBSTRUCTURE_NOTIFY_MASK
Add GDK_SUBSTRUCTURE_NOTIFY_MASK
Fixed GDK_DESTROY handling WRT GnomeRootwin widget.
Elliot Lee [Tue, 19 May 1998 16:17:00 +0000 (16:17 +0000)]
gdk_region_get_clipbox() lets you get a rectangle around the region.
gdk_region_get_clipbox() lets you get a rectangle around the region.
Paolo Molaro [Tue, 19 May 1998 10:17:31 +0000 (10:17 +0000)]
Tue, 19 May 1998 11:51:02 +0200 Paolo Molaro <lupus@debian.org>
* added generic functions for completion in glib.
* used the above functions in the gtkcombo widget.
Elliot Lee [Mon, 18 May 1998 22:36:05 +0000 (22:36 +0000)]
entry for previous change
Elliot Lee [Mon, 18 May 1998 22:34:43 +0000 (22:34 +0000)]
Allow GTK_DEBUG=signals - VERY useful ;-)
Allow GTK_DEBUG=signals - VERY useful ;-)
Elliot Lee [Mon, 18 May 1998 16:23:29 +0000 (16:23 +0000)]
Forgotten entry for visibility_notify_event
Forgotten entry for visibility_notify_event
Tim Janik [Mon, 18 May 1998 04:31:03 +0000 (04:31 +0000)]
changed "proximity-in-event", "drop-data-available-event",
Mon May 18 04:01:41 1998 Tim Janik <timj@gtk.org>
* gtk/gtkwidget.c (gtk_widget_class_init): changed "proximity-in-event",
"drop-data-available-event", "drop-enter-event" and "drop-leave-event"
to be of runtype GTK_RUN_LAST.
* gtk/gtkcontainer.c (gtk_container_class_init): likewise for
"need-resize".
* gtk/gtktipsquery.c (gtk_tips_query_class_init): likewise for
"widget-selected".
Tim Janik [Sun, 17 May 1998 11:35:55 +0000 (11:35 +0000)]
provide usefull default specifications for identifier_spec and
Sun May 17 10:48:27 1998 Tim Janik <timj@gtk.org>
* gscanner.c (g_scanner_unexp_token): provide usefull default
specifications for identifier_spec and symbol_spec.
* glib.h: new functions g_slist_nth_data and g_list_nth_data to return
the data of the nth element in the list.
Tim Janik [Sat, 16 May 1998 07:31:06 +0000 (07:31 +0000)]
quiet the compiler about uninitialized gc.